import model from '../../models/cookbookModel'

export const initSwiper = () => async (dispatch) => {
  let ret = await model.getSwiperData();
  dispatch({
    type: 'initSwiper',
    data: ret.data.data
  })
}